home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 095 / 131adoc2.arc / RBBS-PC2.DOC
Encoding:
Text File  |  1985-12-23  |  67.3 KB  |  1,443 lines

  1. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  2.  
  3. APPENDIX A -- RBBS-PC Record Formats
  4. ------------------------------------
  5. This  appendix  is intended to document the record formats of some  of  the  
  6. more  significant records used within RBBS-PC.    As such,  it is  intended 
  7. more   as   a  "programmers'  guide" for those who wish to  write   RBBS-PC  
  8. utilities   rather  than  as  "user documentation."  No  record  format  is 
  9. "sacrosanct"   and  any  of them  may be  changed   in   future   releases.   
  10. However  such  changes  are  not  made  capriciously  and,   when  they are 
  11. made,   are  accompanied by  some  utility  program  that  will  allow  the 
  12. old files to be  reformatted  into  the  new  format.
  13.  
  14. The MESSAGES file contains the messages that have been left on RBBS-PC.  It  
  15. is  a random file with 128-byte records.   The first record of the MESSAGES 
  16. file  acts  as  RBBS-PC's "checkpoint"  record.   The  records  immediately 
  17. following  this first record are the RBBS-PC "node" records.   Each  "node" 
  18. record represents the activity/options associated with a particular copy of 
  19. RBBS-PC ("node").   There can be up to thirty-six copies of RBBS-PC running 
  20. simultaneously sharing the same set of static files.   Therefore there  can 
  21. be up to thirty-six "node" records following the "checkpoint" record.  
  22.  
  23. The MESSAGES file has the following logical format:
  24.  
  25.            +----------------------------------------------+
  26. Record #1  |  RBBS-PC "checkpoint" record                 |
  27.            +----------------------------------------------+
  28. Record #2  |  RBBS-PC "node" record for node # 1          |
  29.            |                                              |
  30.            |            up to                             |
  31.            |                                              |
  32.            |  RBBS-PC "node" record for node # 9          |
  33.            |  RBBS-PC "node" record for node # 0          |
  34.            |  RBBS-PC "node" record for node "A"          
  35.            |                                              |
  36.            |            up to                             |
  37.            |  RBBS-PC "node" record for node "Z"          |
  38.            |                                              |
  39.            +----------------------------------------------+
  40.            |  First Record in Message portion of file     |
  41.            +----------------------------------------------+
  42.            |                                              |
  43.            \  Message records that have been used         \
  44.            \                                              \ 
  45.            |                                              |
  46.            +----------------------------------------------+
  47.            |  Record available for next message           |
  48.            +----------------------------------------------+
  49.            |  Last record available in MESSAGES file      |
  50.            +----------------------------------------------+
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.                        Page 85 of 108
  61. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  62.  
  63. The  FIRST RECORD of the "MESSAGES" file acts as a "checkpoint" record  for 
  64. all  the  multiple  RBBS-PC's that may be sharing the  MESSAGES  and  USERS 
  65. files.  It contains information  critical  to  maintaining the integrity of 
  66. these two files.   The layout of RBBS-PC  Message  File  Record Number 1 is 
  67. as follows:
  68.  
  69. Position Length           Description
  70.  
  71.   1 -  8     8   Number of last message on system
  72.   9 - 10     2   --- RESERVED FOR FUTURE USE ----
  73.  11 - 20    10   Current caller number
  74.  21 - 51    31   --- RESERVED FOR FUTURE USE ----
  75.  52 - 56     5   Record Number of first record in the USERS file
  76.  57 - 61     5   Record Number of the next available record in the 
  77.                        USERS file
  78.  62 - 66     5   Record Number of the last record in the USERS file
  79.     67       1         Reserved for Node ID currently reserving the USERS
  80.                        file 
  81.  68 - 74     7   Record Nuber where "messages" portion of the 
  82.                        MESSAGES file begins
  83.  75 - 81     7   Record Number of the next available record in the 
  84.                        MESSAGES file where the next message may be written
  85.  82 - 88     7   Record Number of the last record in the MESSAGES file
  86.  89 - 95     7   Maximum number of messages allowed in the MESSAGES file
  87.  96 - 97     2   Reserved for Node ID currently reserving the MESSAGES
  88.                        file
  89.  98 -122    25   --- RESERVED FOR FUTURE USE ----
  90. 123 -126     4   Last message number read by the SYSOP
  91. 127 -128     2   Maximum number of RBBS-PC's sharing this MESSAGES file
  92.  
  93. As a programming reference,  line 23000 of the BASIC source code for  RBBS-
  94. PC.BAS contains the code for reading this "checkpoint" record.
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.                        Page 86 of 108
  121. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  122.  
  123. Following the first record of the MESSAGES file are from one to nine "node" 
  124. records.   Each  "node"  record  contains information   critical   to   the 
  125. running of that copy of RBBS-PC associated with that "node".  The layout of 
  126. each RBBS-PC  "node" record is as follows:
  127.  
  128. Position Length          Description
  129.  
  130.   1 - 31    31  Name of last person on this copy of RBBS-PC
  131.  32 - 33     2  Available indicator for SYSOP
  132.  34 - 35     2  Annoy indicator for SYSOP
  133.  36 - 37     2  Indicator that the SYSOP is next on the system
  134.  38 - 39     2  Line printer available indicator
  135.  40 - 41     2  Door's availability indicator
  136.  42 - 43     2  Eight bit transmission indicator
  137.  44 - 45     2  Baud rate. -1 = 300, -2 = 450, -3 = 1200, -4 = 2400
  138.  46 - 47     2  Upper case indicator
  139.  48 - 52     5  Time remaining on the system
  140.  53 - 54     2  Graphics indicator
  141.  55 - 56     2  SYSOP indicator
  142.     57       1  Activity indicator (I=inactive, A=active)
  143.  58 - 61     4  Baud rate caller dialed in at. 300, 1200, 2400
  144.  62 -128    67 ---- RESERVED FOR FUTURE USE ----
  145.  
  146. A a programming reference,  review lines 175, 842, 13549, 43070, AND 44000 
  147. of  the   BASIC  source code for RBBS-PC.BAS to see how  these  fields  are 
  148. set/used.
  149.  
  150. A message within the messages file consists of a MESSAGE HEADER followed by  
  151. the text of the message.   The RBBS-PC Message File "message header" record  
  152. layout is as follows:
  153.  
  154. Position Length        Description
  155.  
  156.     1        1  Contains an "*" for read-only messages, blank otherwise
  157.   2 -  5     4  Message number of this message
  158.   6 - 36    31  The name of the person the message is from
  159.  37 - 58    22  The name of the person to whom the message is sent
  160.  59 - 66     8  Time of day that the message was sent (HH:MM:SS)
  161.  66 - 67     1  Blank
  162.  68 - 75     8  Date the message was sent (MM-DD-YY)
  163.  76 -100    25  Subject of the message
  164. 101 -115    15  Password for the message (if any)
  165. 116 -116     1  "Active" message indicator = hex 225
  166.                 "Killed" message indicator = hex 226
  167. 117 -122     6  Number of 128-byte records for this message --
  168.                     including the the "message header" record.
  169. 122 -128     7 ---- RESERVED FOR FUTURE USE ----
  170.  
  171. As a programming reference,  review lines 3405, 3460, and 3530 of the BASIC 
  172. source code for RBBS-PC.BAS to see how these fields are set.
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.                        Page 87 of 108
  181. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  182.  
  183. Each  record  following the MESSAGE HEADER record is a MESSAGE TEXT  record  
  184. and  consists  of 128 characters.   Each of these  128-byte  message  text"  
  185. records contains the message text.   The end of each line in the message is  
  186. followed  by  an  RBBS-PC  "end-of-line"  indicator which  is  equal  to  a  
  187. hexadecimal 225.  This allows RBBS-PC to "pack" multiple message lines in a  
  188. single 128-byte record.
  189.  
  190. The   USERS  file contains information unique for each  RBBS-PC  user   who  
  191. logs on.   It is a random file with 128-byte records.  The layout  of  each 
  192. users record within the USERS file i as follows:
  193.  
  194. Position Length           Description
  195.  
  196.   1 - 31    31  User's first and last name (separated by a blank).
  197.  32 - 46    15  User's password for logon.
  198.  47 - 48     2  User's security level (permanent).
  199.  49 - 62    14  User's logon options (see detail breakdown below).
  200.  63 - 86    24  City and state from which the user is calling.
  201.  87 -105    19  Machine the user is utilizing to call RBBS-PC.
  202. 106 -119    14  Date and time the user was last on (MM-DD-YY HH:MM).
  203. 120 -122     3  Date the user last listed a directory.
  204. 123 -124     2  Number of downloads done by the user.
  205. 125 -126     2  Number of uploads done by the user.
  206. 127 -128     2  Elapsed time the user was on for day of last access.
  207.  
  208. As  a programming reference,  line 9400 of the BASIC source code for  RBBS- 
  209. PC.BAS contains the code for opening this file.
  210.  
  211. The field used to record the user's log on options is utilized as follows:
  212.  
  213. Position Length           Description
  214.  49 - 50     2   Number of times the user has logged on
  215.  51 - 52     2   Last message number read by the user
  216.     53       1   Protocol Preference (X, A, M, C, blank)
  217.     54       1   Graphics 0-text, 1-graphics, 2-color
  218.  55 - 56     2   Margin length for this users messages
  219.  57 - 58     2   Bit Flag -- this 16-bit field is denoted by bit 0
  220.                  being the least significant (i.e. right-most bit)
  221.                  and bit 15 being the most significant (i.e. left-
  222.                  most bit).  These "bit flags" have the following
  223.                  meanings (0=off, 1=on):
  224.  
  225.                        BIT    Definition
  226.                         0     Bell prompts
  227.                         1     "Expert" mode
  228.                         2     Nulls
  229.                         3     Upper case only
  230.                         4     Line feeds
  231.                        5-15   RESERVED FOR FUTURE USE
  232.  
  233.  59 - 60     2  ------- RESERVED FOR FUTURE USE ---------
  234.     61       1   Page length to use for this users terminal
  235.     62       1  ------- RESERVED FOR FUTURE USE --------
  236.             ---
  237.             14
  238.  
  239.  
  240.                        Page 88 of 108
  241. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  242.  
  243. APPENDIX B -- RBBS-PC Vendor Protocol Interface Specifications
  244. --------------------------------------------------------------
  245. Before calling the vendor's protocol-handling routine, RBBS-PC will perform 
  246. the following:
  247.  
  248.     1. verify that the file exists if the file is to be downloaded.
  249.     2. verify that the file name requested is  valid if the file is
  250.        to be uploaded.
  251.     3. pass  the  communications  port  to  the  vendor's  protocol-
  252.        handling routine with the file opened and carrier detect on.
  253.  
  254. RBBS-PC will call the vendor's protocol-handling routine as a standard call 
  255. from  BASIC  after  having  been  processed  by  the  Microsoft  QuickBASIC 
  256. compiler.  Hence the protocol-handling routine can expect to receive/return 
  257. a parameter list as generated by the QuickBASIC compiler.   The call to the 
  258. vendor's protocol-handling routine, XYZ, is as follows:
  259.  
  260.                     CALL XYZ(IM,F$,CP$,BPS)
  261.  
  262. Where these four parameters have the following meanings:
  263.  
  264.        IM -- an  integer  indicating  the direction of  the  file 
  265.              transfer.  The values are:
  266.              1 -- download (from RBBS-PC to caller).
  267.              2 -- upload (from the caller to RBBS-PC).
  268.  
  269. NOTE  -- IM  is  utilized  by the  vendor's  protocol-handling  routine  to 
  270. indicate  the  results of the file transfer.   When the vendor's  protocol-
  271. handling routine returns to RBBS-PC it sets IM as follows:
  272.  
  273.              1 -- file transfer successful
  274.              2 -- file transfer unsuccessful
  275.  
  276.        F$ -- a  string which  fully specifies the file name to be 
  277.              used in the file transfer.   File names are  limited 
  278.              in  length  to  40 bytes and the standard  IBM  file 
  279.              naming conventions.   Files with extensions of .COM, 
  280.              .OBJ,  or .EXE are always considered "binary"  files 
  281.             and transferred accordingly.
  282.  
  283.        CP$ - a string which designates the communication port  to 
  284.              be used.  The values are:
  285.              COM1 -- communication port 1
  286.              COM2 -- communication port 2
  287.  
  288.        BPS - an  integer value which  indicates the baud rate  of 
  289.              the caller.  The values are:
  290.  
  291.              -1 =   300 bps
  292.              -2 =   450 bps
  293.              -3 =  1200 bps
  294.              -4 =  2400 bps
  295.              -5 =  4800 bps
  296.              -6 =  9600 bps
  297.              -7 = 19200 bps
  298.  
  299.  
  300.                        Page 89 of 108
  301. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  302.  
  303. APPENDIX C -- RBBS-PC in a MultiLink Environment
  304. ------------------------------------------------
  305. RBBS-PC  CPC13-1A can be run in a MultiLink Environment (i.e.  IBM's PC DOS 
  306. with the multi-tasking software product "MultiLink" from the Software Link, 
  307. Inc.).  RBBS-PC will utilize MultiLink's "enque" mechanism for file sharing 
  308. (i.e. resource sharing).  
  309.  
  310. CONFIG's  parameter 122 is how RBBS-PC knows that it will be running  in  a 
  311. MultiLink  environment.   This  is  ESSENTIAL when  running  RBBS-PC  under 
  312. MultiLink.  CONFIG allows the SYSOP to specify what MultiLink terminal type 
  313. code to pass to MultiLink whenever RBBS-PC exits to DOS via a "Door".  Page 
  314. 15  of  the  MultiLink documentation specifies the  various  terminal  type 
  315. codes.  When a SYSOP indicates that "doors" are available (via parameter 81 
  316. of CONFIG.BAS) and RBBS-PC is to be run under MultiLink, the SYSOP is asked 
  317. to  select the MultiLink terminal type that RBBS-PC is to inform  MultiLink 
  318. to expect when MultiLink is given control of the "Door."
  319.  
  320. RBBS-PC  CPC13-1A has been tested running two copies of RBBS-PC  under  DOS 
  321. 3.1 and MultiLink Advanced (version 3.02) on an IBM PC which had a  mother-
  322. board  containing  64K  and an AST Comboplus board with 384K  (a  total  of 
  323. 448K).   The  "autoexec"  file  was named AUTOEXEC.BAT  and  contained  the 
  324. following parameers
  325.  
  326.                     MLINK /9,172/9,172
  327.  
  328. It  is  important to avoid doing several things when running RBBS-PC  under 
  329. MultiLink.   First,  NEVER RUN MLSLICE!   This is because MLSLICE hangs off 
  330. the PC's timer chain and the code generated by the BASIC compilers violates 
  331. all  sorts  of  DOS conventions whenever it is utilizing the  PC's  speaker 
  332. (i.e. as when RBBS-PC pages the SYSOP).  In so doing, the code generated by 
  333. the  BASIC  compilers  is incompatible with programs  that  do  follow  DOS 
  334. conventions.  
  335.  
  336. Second,  NEVER use the DOS "PRINT" command!  This is because there is a bug 
  337. in  the code generated by the BASIC compiler that causes the system to hang 
  338. if a compiled BASIC program is running and DOS is printing something.  This 
  339. bug  has  been corrected in the BASIC compiler that was  used  to  generate 
  340. RBBS-PC.EXE  that is distributed.   However the version of RBBS-PC that you 
  341. get (if other than from CPCUG) may not have this bug corrected.   This is a 
  342. bug that occurs independent of running MultiLink.
  343.  
  344. Third,  check your Intel 8088 chip's copyright date by opening up the cover 
  345. and  locating the 8088 chip.  If the copyright date printed on the chip  is 
  346. 1978 (i.e. pre 1981), REPLACE THE INTEL 8088 CHIP!!!!!  The 1978 Intel 8088 
  347. chip  had  several  design flaws that will cause your  system  to  lock  up 
  348. occasionally.   One of these design flaws allowed interrupts to occur while 
  349. stack  switching  (something that will happen running  multiple  partitions 
  350. doing disk I/O under any multi-tasking DOS add-on such as MultiLink or even 
  351. IBM's TopView).   Don't blame MultiLink for the flawed Intel 8088 chip that 
  352. IBM  put  in  your PC!   It costs about $70 ($35 for the chip and  $35  for 
  353. labor)  and  takes  about  15 minutes to have  the  1978  Intel  8088  chip 
  354. replaced.   In fact, if you are going to replace your 1978 Intel 8088 chip, 
  355. you might consider the newer (and 5% to 10% faster) NEC V20 chip.
  356.  
  357.  
  358.  
  359.  
  360.                        Page 90 of 108
  361. RBBS-PC CPC13-1A, Cpyright 1985 by D. Thomas Mack          December 1, 1985
  362.  
  363. Fourth,  DON'T  USE "BUFFERS=" in the CONFIG.SYS for DOS!   This may be  an 
  364. "old  wives  tale,"  but I am convinced (but can't prove)  that  there  are 
  365. incompatibilities between the code the BASIC compiler generates,  DOS's use 
  366. of "BUFFERS=", and MultiLink.  
  367.  
  368. Fifth,  DON'T  ALLOW MNP PROTOCOL for file transfers.   An  incompatability 
  369. exists  between  the Software Link,  Inc.'s Multi-Link and  MICROCOM's  MNP 
  370. software.   Until  the  respective vendor's resolve this,  don't  use  both 
  371. products concurrently! 
  372.  
  373. Finally,  DON'T  RUN  PROGRAMS THAT USE THE BASIC "RUN-TIME"  LIBRARY,  and 
  374. always invoke the BASIC interperter with the command BASIC C:0!   Both  the 
  375. BASIC interpreter's handling of communications ports and BASRUN.EXE seem to 
  376. violate enough DOS conventions to "lock up" MultiLink.
  377.  
  378. When  RBBS-PC detects that it is running in a MultiLink environment it will 
  379. automatically do the following:
  380.  
  381.     1.  When re-cycling, it will automatically enque on the correct
  382.         MultiLink resource ID for the communications port defined
  383.         in CONFIG for that copy of RBBS-PC to use.
  384.  
  385.     2.  When re-cycling, it will automatically tell MultiLink that
  386.         this is a type "9" partition (i.e. MultiLink is NOT to handle
  387.         the communications port).
  388.  
  389.     3.  When exiting to DOS (either via the SYSOP option 7 or via a
  390.         "door", RBBS-PC will automatically tell MultiLink to start
  391.         handling the communications for this partition (COM1 or COM2)
  392.         and what type of terminal was defined in CONFIG that would
  393.         be on the communications port (MultiLink terminal types 1
  394.         through 12).
  395.  
  396. Manually,  it  is  possible to bring up and run one copy of  RBBS-PC  under 
  397. MultiLink.   The  only way that I have been able to bring up two copies  of 
  398. RBBS-PC  successfully  under  MultiLink (one copy running in  each  of  two 
  399. partitions)  was to bring them up via AUTOEXE1.BAT and AUTOEXE2.BAT  files.  
  400. It  appars,  at  least  in 3.02 of MultiLink  Advanced,  that  during  the 
  401. MultiLink initialization sequence when the partitions are being established 
  402. and  the "AUTOEXEx.BAT" files are being invoked that MultiLink doesn't  get 
  403. "confused" and lock up with a second copy of RBBS-PC present.   
  404.  
  405. Using  Multi-Link to  run multiple  nodes in  the same  machine and the use 
  406. of either of the new compilers requires DOS 3.1 and above.   The SYSOP must 
  407. execute SHARE.COM prior to starting multiple RBBS-PC nodes under Multi-Link 
  408. and specify FILES=20 in the CONFIG.SYS file.
  409.  
  410.  
  411.  
  412.  
  413.  
  414.  
  415.  
  416.  
  417.  
  418.  
  419.  
  420.                        Page 91 of 108
  421. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  422.  
  423. APPENDIX D -- RBBS-PC in a CORVUS Network
  424. -----------------------------------------
  425. RBBS-PC  uses  the  standard Corvus SEMAPHORES  when  sharing  files  among 
  426. multiple  copies of RBBS-PC within a Corvus Network.   This is accomplished 
  427. via  the  MS-DOS utility driver,  DRIVEC2,  that Corvus supplies  with  its 
  428. network.  
  429.  
  430. On a multi-server Corvus network (i.e. where there are multiple shared hard 
  431. disk  drives)  all PC's that are running RBBS-PC within the Corvus  network 
  432. MUST  have their "home volume" on the same server.   Corvus maintains  each 
  433. PC's  semaphores  on that PC's "home volume".   In order to  "share"  files 
  434. among  various PC's in a Corvus network,  all the PC's that  are  "sharing" 
  435. must  also  be looking at the same set of semaphores.   In a  single-server 
  436. Corvus network this is not a consideration because there is only one  "home 
  437. volume."  
  438.  
  439. RBBS-PC  has  been only tested with the Corvus CONSTELLATION  II  interface 
  440. cards  and software that Corvus provides for the IBM  PC.   RBBS-PC  should 
  441. work  with  both Corvus' older "flat cable" network as well as their  newer 
  442. OMNINET  twisted  wire  pair cable network when  running  CONSTELLATION  II 
  443. software.   It  is  entirely  possible that RBBS-PC would  work  with  some 
  444. combination  of  both  Corvus network types as lng as  they  were  running 
  445. CONSTELLATION II software.
  446.  
  447. It  should  be self-evident that every PC within a Corvus  network  running 
  448. RBBS-PC  must have a Corvus interface card.   If multiple copies of RBBS-PC 
  449. are  running in a Corvus network that is using older Corvus software  (i.e. 
  450. NOT running the CONSTELLATION II software),  the interface cards  must,  at 
  451. least, all have the CONSTELLATION II ROM. 
  452.  
  453. RBBS-PC is tested only to run on IBM PC's within a Corvus network.  Clearly 
  454. an  IBM "clone" that can run IBM's DOS,  RBBS-PC.EXE,  and is supported  by 
  455. Corvus' network should also work.   However, such configurations (and their 
  456. many  variations) are not part of the environment within which  RBBS-PC  is 
  457. tested and supported.  
  458.  
  459.  
  460.  
  461.  
  462.  
  463.  
  464.  
  465.  
  466.  
  467.  
  468.  
  469.  
  470.  
  471.  
  472.  
  473.  
  474.  
  475.  
  476.  
  477.  
  478.  
  479.  
  480.                        Page 92 of 108
  481. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  482.  
  483. APPENDIX E -- RBBS-PC in an ORCHID PCnet NETWORK or AST PCnet NETWORK
  484. ---------------------------------------------------------------------
  485. RBBS-PC CPC13-1A can be implemented on an Orchid PCnet or AST PCnet Network 
  486. environment.   It  is  assumed  that  the  necessary  network  hardware  is 
  487. installed  correctly.   In an Orchid environment it is imperative that  the 
  488. network  software  correspond to the particular version of the IBM  PC  DOS 
  489. operation system that you are running as follows:
  490.  
  491.        IBM's PC DOS              Orchid Network Softare
  492.          Version                      Version
  493.  
  494.         2.0 or 2.1               PCnet version 2.4c
  495.            3.0                   PCnet version 3.0a
  496.            3.1                   PCnet version 3.0b
  497.  
  498. In an AST network the AST PCnet Network Software version 3.10 must be used.
  499.  
  500. The  hardware in which RBBS-PC and the Orchid and AST network software  has 
  501. been tested included IBM's PC,XT,AT,(PC clones).  The AT was also tested at 
  502. clock speeds as high as 9mhz with no problems as a non-dedicated server.
  503.  
  504. Because  RBBS-PC Orchid interface (PC-NET.OJ) uses non standard Orchid-AST 
  505. SEMAPHORES  when  sharing files among multiple copies of RBBS-PC  within  a 
  506. Orchid or AST Network,  it is important to know the type of semaphores that 
  507. RBBS-PC uses.
  508.  
  509. RBBS-PC calls the MS-DOS utility driver,  PC-NET, that is supplied with the 
  510. PCnet as a low-level function call (int 67) to lock,  unlock, and loop-lock 
  511. semaphore names.  RBBS-PC uses the drive letter and not the drive number in 
  512. the  argument to specify drive of a network drive.   The  server  providing 
  513. this drive will hold the lock. In order to get the file sharing to lock and 
  514. unlock properly it is important to follow one fundamental guideline:
  515.  
  516.          All the system files used in RBBS-PC should use the same 
  517.          drive letter on the server as well as all workstations.
  518.  
  519. This assures that all semaphores names will be the same on all nodes.   For 
  520. example, if MESSAGES and USERS are on the "E" drive at the server PC (sPC), 
  521. all  the  user  PC's (uPC's) should be set up so that their  network  drive 
  522. table  shows that their respecitve "E" drives are in fact the "E" drive  on 
  523. the server PC.
  524.  
  525. This  is not a problem if all the uPC's have the same  configuration.   The 
  526. problems occur when one or more of the uPC's are unlike.   This is  because 
  527. the  Orchid network software REQUIRES that no logical drives be skipped  in 
  528. the final uPC map.  
  529.  
  530. Here is an example of a four PC system consisting of the following:
  531.  
  532. Node 1 -- An IBM AT with the network id of 80
  533. Node 2 -- An IBM XT with the network id of 24
  534. Node 3 -- An IBM PC with the network id of 13
  535.  
  536. Logical disk drives "E" through "L" are shared among all four nodes.   Node 
  537. 1  is the "server" PC and all the other nodes are "user" PC's.   The  final 
  538. uPC map would look as follows:
  539.  
  540.                        Page 93 of 108
  541. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  542.  
  543.  
  544.  Ibm-pc ID 13         Ibm-xt ID 24        Ibm-at ID 80 
  545.    Node 3                Node 2              Node 1
  546.     uPC                  uPC                 sPC
  547.  
  548. a:local  vol a:      a:local  vol a:     a:flop a private
  549. b:local  vol b:      b:local  vol b:     b:flop b private
  550. c:remote vol hd  c   c:local  vol c:     c: hd c pub read write
  551. d:remote vol hd  d   d:local  vol d:     d: hd d pub read write
  552.  
  553. Common disk drive letters at DOS to all nodes on the system
  554.  
  555. e:remote vol hd  e   e:remote vol hd  e  e: hd e pub read write
  556. f:remote vol hd  f   f:remote vol hd  f  f: hd f pub read write
  557. g:remote vol ram g   g:remote vol ram g  g: ram g pub read wrte
  558. h:remote vol hd  h   h:remote vol hd  h  h: hd h pub read write
  559. i:remote vol hd  i   i:remote vol hd  i  i: hd i pub read write
  560. j:remote vol hd  j   j:remote vol hd  j  j: hd j pub read write
  561. k:remote vol hd  k   k:remote vol hd  k  k: hd k pub read write
  562. l:remote vol hd  l   l:remote vol hd  l  l: hd i pub read write
  563.  
  564. End to common disk drives letters at DOS to all nodes on the system
  565.  
  566. m:local vol  ram m:  m:remote vol hd c  
  567.                      n:remote vol hd d
  568.                      o:local vol ram o:
  569.  
  570.  
  571. Tips on running RBBS-PC and PCnet
  572.  
  573. 1.  The server will work in dedicated or non-dedicated modes.
  574.  
  575. 2.  A monochrome screen should be used on the server.   Graphics screen I/O 
  576.     is  poorly handled by the network software and causes  all the nodes to 
  577.     blink  on and off as the user accesses the system files.   It has  been 
  578.     found  that  a  mono screen on the server and any  combination  on  the  
  579.     uPC's corrects the problem.
  580.  
  581. 3.  Do not use BUFFER=  on the server.   Updates to the USERS and  MESSAGES 
  582.     files   will be lost or over written on the system because the  network 
  583.     software  doesn't re-write all the buffers back to disk whenever an I/O 
  584.     is done.
  585.  
  586. 4.  All  volumes accessed by any copy of RBBS-PC must be designated read/write 
  587.     because  RBBS-PC uses the name function in order to determine if a file 
  588.     exists on a drive.
  589.  
  590. 5.  All  remote  sysop activity should be done on a uPC.  One of the quirks 
  591.     of the Orchid ntwork software is that the sPC  never goes back to  the 
  592.     batch file if access in remote SYSOP mode takes place.
  593.  
  594. 6.  The  best  system  performance is achieved if PCCACHE is  used  on  the 
  595.     server.    All download and upload activity is done by the cache.   The 
  596.     system is fast and the hard disk heads are spared the job of keeping up 
  597.     with  4  users all downloading different files at  the  same  time.   A 
  598.     typical  download of an 80k file is just 2 to 3 reads from  the  drive.  
  599.  
  600.                        Page 94 of 108
  601. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  602.  
  603.     The  same for uploads except it's a write of 2 or 3 times to the drive.
  604.  
  605. 7.  If  you  have the enough on-line stoarage on each of the  uPC's,   keep 
  606.     all the DIR.DIR and  aa.dir  thru zz.dir on the local volumes,  as well 
  607.     as  all  the menus and help files.   This minimizes the traffic on  the 
  608.     network.
  609.  
  610. 8.  Large  ram disks will improve the performance on all nodes.   One  such 
  611.     ram  drive that was found to work with PCnet is TALL TREES SYSTEMS JRAM 
  612.     and   JRAM-2  boards.   If using this software,  the JBOOT.BIN must  be  
  613.     the   first  entry  in  the CONFIG.SYS to use JRAM,   even  though  the 
  614.     PCnet  documentation  says  to  use their drivers first in  CONFIG.SYS.   
  615.     Putting the file MENUEs, HELPs, and DIRs, etc. in the RAM disks on each 
  616.     PC running RBBS-PC not only minimizes the traffic on the  network,  but 
  617.     also increases the speed of each system.  Using the SET COMSPEC command 
  618.     of DOS 3.x is also helpful.   If booting from a floppy on the  network, 
  619.     use  set COMSPEC command (set environment) to find COMMAND.COM  on  the 
  620.     ram disk.
  621.  
  622. 9.  The  SNOOP key (F9) should be used with caution because of the way  the 
  623.     PCnet software handles I/O to the monitor.  If you toggle SNOOP on as a 
  624.     user is first logging on the system,  you may lock up that node.   Once 
  625.     that node is locked up all calls to the other noes will lock up one by 
  626.     one.  What  happens  is  that RBBS-PC locks the  MESSAGES   and   USERS  
  627.     files when a user come  on the system,  at the same time you are   also 
  628.     locking  the  MESSAGES  file  using the SNOOP  function   locally.  The  
  629.     outcome is the MESSAGES and USERS file becomes locked  permanently.  No  
  630.     other node can read the MESSAGES or USERS files from that point on.
  631.  
  632. 10. Beginning  with RBBS-PC Version CPC13-1A,  a new version of  PC-net.obj 
  633.     gives  the  SYSOP the abilty to  unlock,  lock or looplock  the  system 
  634.     files used in the  RBBS-PC  PC-net  environment.   If a computer on the 
  635.     system should hang for any reason while holding a lock on the messages, 
  636.     users,  directory,  the  SYSOP  has a  alternate  to the  rebooting  of 
  637.     all the computers on the system to get the  lock  off the system files. 
  638.     The  new  PC-net.obj  creates  standard  Orchid-AST   SEMAPHORES   when 
  639.     sharing files among multiple copies of RBBS-PC within an Orchid or  AST 
  640.     Network.   This  allows the SYSOP to unlock the locked files  using the 
  641.     network utility  files  UNLOCK, LOCK, LLOCK that are  supplied with the 
  642.     network software.
  643.  
  644. As  there  is  a  wide variety  of  hardware  combinations  available,  the 
  645. following  is  a  step-by-step  discussion  on  installing  PCnet  and   is 
  646. especially  designed  to  offer a starting point  for  an  efficient  PCnet 
  647. network operation.   The configuration discussed below has been in trouble-
  648. free operation for some time and logs almost 1000 callers per week.
  649.  
  650. The following hardware configuration is used for the example:
  651.  
  652.          A 512K IBM PC AT or compatible with a single 1.2 megabyte
  653.          floppy drive and containing a 60 megabyte hard disk that can
  654.          be configured into multiple drives (C:,D:,E:,etc.).  This is
  655.          the network 'server PC' which will be the storage resource
  656.          for other units on the network.  The server may run at speeds
  657.          up to 9 megahertz if ou decide to add a different crystal.
  658.          You should use a monochrome display to avoid affecting the
  659.  
  660.                        Page 95 of 108
  661. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  662.  
  663.          display on other nodes.
  664.  
  665.          A 640K IBM PC or compatible with two floppy drives is the
  666.          workstation or 'user PC' which will remotely execute
  667.          RBBS-PC.EXE on the server and share most of the servers
  668.          files.  This can have either a monochrome or color display.
  669.  
  670. Both server and user PC's have modems and communication ports configured as 
  671. COM1: running under DOS 3.1.
  672.  
  673. Your dealer will supply you with Orchid's PCnet network cards (revision E), 
  674. coaxial cable and terminators to connect the AT and the PC, and the network 
  675. software  version  3.0b -- the ONLY version compatible with DOS  3.1.   The 
  676. network card which is installed in the AT should be switch selected to 0080 
  677. HEX and the PC should be selected as 0011.   The Orchid documentation  will 
  678. show how to check jumpers and change network 'addresses' for each PC on the 
  679. network.
  680.  
  681. This  is  a summary of the steps involved in starting up the  network  with 
  682. intentions  of running RBBS-PC on two nodes.   The Orchid manual should  be 
  683. the  definitive source for all installations of their network and the  user 
  684. is referred to Ochid for technical support.   However,  this will give  you 
  685. almost all the steps involved.
  686.  
  687. 1.  Backup  your  hard  disk files now!   Never start up  a  new  operating 
  688. environment  or even run a hard disk system without some  effective  backup 
  689. procedure.   It  is not unusual to have to format the hard disk as much  as 
  690. four times before a successful installation is achieved.
  691.  
  692. 2.  Format  and have available several DOS 3.1 system disks.   A minimum of 
  693. four are needed for the actual network boot disks but it is suggested  that 
  694. everything be done in duplicate.
  695.  
  696. 3.  From the two floppy-disk PC,  insert the Orchid PCnet system disk in A: 
  697. and  make  a ackup.   Do the same for the utilities disk though  this  one 
  698. won't be required for RBBS operation.
  699.  
  700. 4.  With  the backup Orchid PCnet system disk in A:  and a formatted system 
  701. disk in B:, type the following to create the server PC boot disk:
  702.  
  703.                      A>  SPCGEN B:
  704.  
  705. Once completed,  create a user PC boot disk by typing the following with  a 
  706. new formatted system disk in B: drive for a non-DISKLESS installation:
  707.  
  708.                      A>  UPCGEN B:
  709.  
  710. Label  these  disks  as sPC 0080 and  uPC  0011,  respectively.   Copy  the 
  711. VDISK.SYS from DOS 3.1 to the sPC (server) and uPC (user) diskette.
  712.  
  713. The  above steps should have created boot diskettes for the AT (the server) 
  714. and the PC (the user).  The network software now will have to be configured 
  715. for  the actual network environment.   i.e.,  whether Orchid's RAM  drives, 
  716. CACHE memory, print-spoolers, and other options are desired.
  717. Place  the  sPC  0080  diskette in drive  A:   and  type  "PCNETINST."  The 
  718. installation  will  be for the first time and will be for the  'server  PC' 
  719.  
  720.                        Page 96 of 108
  721. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  722.  
  723. rather  than the 'user PC.' Do not install PCnetDRV (Orchid's RAM disk)  as 
  724. it does not support memory above the 640K limit nor does it run on the  AT.  
  725. Either  IBM's  VDISK or JRAM can be used instead.   Install CACHE  for  the 
  726. available  hard  disk drives but not on the floppy drives.  On a  512K  AT, 
  727. there  was  only  enough  RAM for 15 buffers of  4K  increments  available.  
  728. Because  of  this only allocate CACHE to the hard drives that are  used  by 
  729. RBBS.
  730.  
  731. In the example,  we will CACHE drives C:,  D:,  E:, F:, G:, H:  -- multiple 
  732. drive  lettering  is desirable with PCnet to maintain security  control  of 
  733. areas  not  to  be accessed by the callers or  the  work  stations.   Don't 
  734. install the print spooler at this time as bare bones network  installations 
  735. are  easier to debug if there is a problem.   Answer 'o' to all the  other 
  736. fancy  Orchid  PCnet options and save the changes to sPC 0080  diskette  in 
  737. drive  A:.   As  a final step for the network configuration,  boot up  your 
  738. favorite ASCII text processor and edit CONFIG.SYS and AUTOEXEC.BAT to  look 
  739. like the following:
  740.  
  741.      CONFIG.SYS =
  742.                device = spc.com                 <--- the network driver
  743.                device = <your hard disk driver if needed>
  744.                device = vdisk.sys 128 512 64    <--- 128K RAM drive
  745.  
  746.      AUTOEXEC.BAT =
  747.         disk13                                  <--- required by PCnet
  748.         PCCACHE DRIVE=C,D,F,G,H\BUFF=015\SIZE=8\TIME=4\RAND=1     <---CACHE
  749.         spcbio 138023                           <--- identifies server
  750.         <your program to set the time on the user station goes here>
  751.         RBBS1.BAT                               <--- BATch file to invoke
  752.                                                      RBBS at the server.
  753.  
  754. While  you have the word processor available,  change the CONFIG.SYS on the 
  755. uPC 0011 disktette to read as follows so that a RAM disk will be  available 
  756. on the 640K PC:
  757.  
  758.               device = upc.com
  759.               device = vdisk.sys 320 512 124    <--- 320K RAM drive
  760.  
  761. and also the AUTOEXEC.BAT for the uPC diskette to the following
  762.  
  763.               upcbio 138023                     <---identifies workstation
  764.               disk13                            <---required by PCnet
  765.               RBBS2.BAT                         <---BATch file to invoke
  766.                                                     RBBS at the workstation
  767.  
  768. Don't use FILES= or BUFFERS= statements in CONFIG.SYS for either the server 
  769. or  the  user station as they will disrupt the memory allocation and  cause 
  770. the PCnet software to destroy the File Attribute Tables (FAT) tables of all 
  771. sharded  disk  drives.   PCCACHE,  the CACHE program will handle  the  same 
  772. functions as FILES= and BUFFERS=.
  773.  
  774. The sPC diskette should now be booted.   RBBS1.BAT will not be found and an 
  775. error will e generated.   This batch file will be created later.   At this 
  776. point  you are about one third finished -- if you have been  successful  so 
  777. far.
  778.  
  779.  
  780.                        Page 97 of 108
  781. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  782.  
  783. The  PCCACHE  sign-on  should indicate that there is about  201K  left  for 
  784. program execution.  There is a 128K ram disk on the server as drive I:  and 
  785. so far all is well. The next step is to identify the workstation as a legal 
  786. user of certain hard drives on the server PC.  The program "SPCINST" is now 
  787. started  and will verify that you have system the network board switches to 
  788. 0080 HEX,  hopefully.  A name is given to the Network and to the individual 
  789. drives  for  identification purposes.   In the sample  case,  they  are  as 
  790. follows:
  791.  
  792.       Network Name = RBBS-PC Network
  793.       Drive A: Name = HD floppy                <--- High density floppy
  794.       Drive B: Name = Alternate floppy         <--- "phantom floppy"
  795.       Drive C: Name = System Files             <--- "private goodies"
  796.       Drive D: Name = RBBS System Area         <--- RBBS-PC.EXE etc.
  797.       Drive E: Name = Upload File Area         <--- 99.DIR and uploads
  798.       Drive F: Name = Download Area #1         <--- downloadable files
  799.       Drive G: Name = Download Area #2         <--- downloadable files
  800.       Drive H: Name = Download Area #3         <--- downloadable files
  801.       Drive I: Name = RAM Disk for sPC         <--- for static RBBS files
  802.  
  803. Drives A:   and B:  are designated non-shareable or 'private' and drives C: 
  804. through I:  are designated shareable or 'public' for user PC access. PLEASE 
  805. NOTE  that  this "how-to-do-it" example is DIFFERENT from the  three-system 
  806. PCnet example given earlier.   Don't confuse them or try to correlate them. 
  807.  
  808. Save the sPC configuration and then configure our workstation or 'user  PC' 
  809. which  is  the 640K PC named 0011 HEX.   The "SPCINST" program will ask  if 
  810. remote  execution by uPC 0011 is allowed (yes) and also wheher  read/write 
  811. access  is granted for the above shareable volumes;  access is allowed  for 
  812. drives C:  through I:  in this example.  We have now mapped out the network 
  813. access table for two nodes.   The table is saved once the "SPCINST" program 
  814. has  ended  and the system will reboot to allow these changes  in  the  map 
  815. table to take effect.
  816.  
  817. The  uPC  0011  diskette  is now booted up at the  640K  PC.   The  program 
  818. "UPCINST" is run and floppy drives A:   and B:   are mapped in at the  work 
  819. station  provided that the 0011 is shown correctly on-screen.   The program 
  820. asks  what  server  PC is to be accessed and so 0080  is  entered.  If  the 
  821. cabling  and all the previous steps are correct,  the program will return a 
  822. list of drives that the server PC has mapped out as being shareable  drives 
  823. with uPC 0011.   Once all of the drives are selected,  the user station has 
  824. access to drives A:,  B:   and J:  on its own CPU and drives C:  through I:  
  825. on the server after re-booting.
  826.  
  827. At  this point you are two-thirds of the way through setting up the network 
  828. if you can:
  829.  
  830.      1. access all the server's drives from the PC workstation
  831.  
  832.      2. do a DIR command from the workstation, and
  833.  
  834.      3. run programs from the workstation.
  835.  
  836. Do not run any programs such as FORMAT.COM,  DISKCOMP.COM, and DISKCOPY.COM 
  837. as,  according to Orchid's manual,  these write to the BIOS and,  thus, are 
  838. completly incompatible with the PCnet CACHE software.
  839.  
  840.                        Page 98 of 108
  841. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  842.  
  843. With CPC 13.1A's new CONFIG,  you must redo your RBBS-PC.DEF  files.   With 
  844. PCnet, there are some differences.  The AT will be designated as Node 1 and 
  845. the  user  PC as Node 2.   Start up CONFIG.EXE and indicate  that  multiple 
  846. copies  WILL  be used and that the changes are for number  one.   Configure 
  847. RBBS-PC as you would in a single PC environment including the naming of COM 
  848. ports as they exist and attached to the modems excet for the following:
  849.  
  850.         1. Option 41 --> 55 to indicate which files you will place on the
  851.                sPC's 128K Ram drive I: -- you should have room for the menus,
  852.                the help files, etc. including directory files.  Figure this
  853.                out ahead of time to avoid redoing CONFIG over and over.
  854.  
  855.         2. Option 83 to indicate that the dynamic BATch file created when
  856.                using the Doors function is RCTTY1.BAT
  857.  
  858.         3. Option 84 to indicate that the BATch file to reinvoke RBBS-PC.EXE
  859.                is RBBS1.BAT
  860.  
  861.         4. Option 121 to indicate that the maximum number of concurrent
  862.                RBBS-PC's is three -- two for our two CPU system and one spare
  863.                for future growth, and
  864.  
  865.         5. Option 122 to indicate that the environment running
  866.                concurrent RBBS-PC's is PCnet.
  867.  
  868. Check all the configuration entries then save to disk and,  hopefully, have 
  869. enough  room to redo the message files to place the multi-node pointers  in 
  870. it.   Once you respecify the number of concurrent RBBS-PC's,  the  MESSAGES 
  871. file  is  reformatted.   It is safer to pack the MESSAGES before doing  the 
  872. configuration.  If  you  have used RBBS before,  be sure  to  "repair"  the 
  873. messages if necessary.  Copy the file RBBS1PC.DEF produced to RBBS2PC.DEF.
  874.  
  875. Reinvoke  CONFIG.EXE  and then use number 2 as the copy of RBBS to  modify. 
  876. Copying  the RBBS1PC.DEF will save you some time as you will now only  need 
  877. to change those entries that specifically apply to the workstation as the
  878. following:
  879.  
  880.        1. Look at Options 41 --> 55 to see what other files you can place on
  881.                the RAM disk; in this case, you will use those already on I:
  882.                (the server's RAM) but also an additional 320K Ram disk J: on
  883.                the work station.
  884.  
  885.        2. Option 62 to change the location of the CALLERS log to Drive B: on
  886.                the workstation so you can keep track of usage on the user PC
  887.                and reduce the wriing to the hard disk across the network.
  888.  
  889.        3. Option 83 to indicate RCTTY2.BAT instead of RCTTY1.BAT
  890.  
  891.        4. Option 84 to indicate RBBS2.BAT instead of RBBS1.BAT, and
  892.  
  893. Save these changes and RBBS2PC.DEF will be ready to go.
  894.  
  895. You must create RBBS1.BAT and RBBS2.BAT files as described elsewhere in the
  896. documentation to look like the following:
  897.  
  898.  
  899.  
  900.                        Page 99 of 108
  901. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  902.  
  903.    For RBBS1.BAT
  904.  
  905.                 ECHO OFF
  906.                 IF EXIST RCTTY1.BAT DEL RCTTY1.BAT
  907.                 D:RBBS-PC.EXE 1             <--- on Drive D: of our sample
  908.                 ECHO OFF
  909.                 IF EXIST RCTTY1.BAT RCTTY1.BAT
  910.                 RBBS1.BAT
  911.  
  912.    For RBBS2.BAT
  913.  
  914.                 ECHO OFF
  915.                 IF EXIST RCTTY2.BAT DEL RCTTY2.BAT
  916.                 D:RBBS-MO.EXE 2             <--- on Drive D: of our sample
  917.                 ECHO OFF
  918.                 IF EXIST RCTTY2.BAT RCTTY2.BAT
  919.                 RBBS2.BAT
  920.  
  921. At  this point you should be able to boot up the server and see the RBBS-PC 
  922. logon with Node 1 prominently displayed.   Log-on locally and test all  the 
  923. features  from the console.   When you are satisfied that everything is set 
  924. up correctly open it up to outside calls.   Observe the system as users log 
  925. on, leave messages, download, hopefully upload and log off. 
  926.  
  927. At  this point,  the PCnet environment has been correctly  established  for 
  928. RBBS-PC  to run or the files on the hard disk,  especially the RBBS  system 
  929. area  and  the  upload area are hopelessly scrambled.   Did you  make  that 
  930. backup?   If there is a problem,  review your work to this point especially 
  931. checking CACHE command.   Take out all the little embellishments  including 
  932. the  memory  resident routines that you can't live without and start  over.  
  933. If it works the first time, something is definitely wrong unless you are an 
  934. experienced installer.   Normally it will take almost four to five hours to 
  935. reachthis point.
  936.  
  937. If the server PC and RBBS-PC checks out correctly, boot up the work station 
  938. when  no  one  is using the server.   With the  initial  bare  minimum  RAM 
  939. available,  the hard disk will strain alittle when copying alot of files or 
  940. invoking  RBBS when some one is checking for personal messages.   Test  out 
  941. RBBS-PC Node 2 locally as performed with Node 1.
  942.  
  943. To  optimize  the network's efficiency,  one should consider expanding  the 
  944. server's RAM to as much as possible with add-on memory boards.   This helps 
  945. by allowing one to do the following:
  946.  
  947.          1. Decrease number of accesses to the hard disk by using CACHE
  948.                 memory to the maximum allowable.
  949.  
  950.          2. Increased amount of RAM allocated for RAM drives.
  951.  
  952. Both  of  these  enhancements will save on hard disk 'wear  and  tear'  and 
  953. maintain  the access speed of such operations as file  transfer,  directory 
  954. searches, and just moving around RBBS-PC while others are on-line.
  955.  
  956. Note how much easier to configure RBBS-PC is than PCnet!!!!
  957.  
  958.  
  959.  
  960.                        Page 100 of 108
  961. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  962.  
  963. APPENDIX F -- RBBS-PC and the Hearing-Impaired
  964. ----------------------------------------------
  965. Telecommunications  Devices  for the Deaf (TDD's) use the Baudot  character 
  966. set  (i.e.  5-bit) and utilize modems that transmit at 45 baud and  do  not 
  967. generate  a  carrier signal.   This is because such devices  were  initally 
  968. adaptations   of   surplus  Western  Union  TTY  machines   for   telephone 
  969. communications.   The  widespread  use of Baudot devices  by  the  hearing-
  970. impaired,  the previous high cost of computers and modems,  and the lack of 
  971. software  designed for electronic communications,   has impedded the change 
  972. to ASCII communications by the hearing-impaired community.
  973.  
  974. Equipment manufacturers have also made it difficult for the deaf to change.  
  975. When TDD's with ASCII code transmission capability began to be offered, the 
  976. majority f manufacturers limited them to only 110 baud and put disclaimers 
  977. in  their manuals that said ASCII was available for use but that  "computer 
  978. language" was "less reliable" and hard to use.  Their limiting of the TDD's 
  979. output screen to 12 to 20 characters further compounded the problem because 
  980. the screen would overwrite several times to display one line of text from a 
  981. host  system.   The  manufacturers'  "solution"  to  this  problem  was  to 
  982. recommend  printers for communication with such "host" systems as  RBBS-PC.  
  983. Some  units now offer both 110 and 300 baud ASCII transmission in  addition 
  984. to  the  45  baud Baudot.   Unfortunately,  these typically  have  only  20 
  985. character screens.
  986.  
  987. In December of 1984,  Ted Janossy of Rochester, Minnesota, sent me a three-
  988. page letter describing the above situation.   Ted's letter motivated me  to 
  989. test  and verify the "ring-back" feature of RBBS-PC in CPC12-4A.    It  had 
  990. not  been tested in earlier versions because I had assumed  (presumptuously 
  991. and  insensitively)  that  "real SYSOP's don't  use  ring-back  RBBS-PC's."  
  992. Ted's  letter  awakened  me  to  the potential  of  RBBS-PC  to  facilitate 
  993. communications among the hearing-impaired.   In the awakening I also had  a 
  994. chance to look down at my own feet of clay.
  995.  
  996. Using  option 9 of CONFIG,  RBBS-PC can be configured to answer calls  only 
  997. after a specified number of rings (i.e.  15).  The telephone companies wire 
  998. the  homes  of  the hearing-impaired such that when the  phone  rings,  the 
  999. lights  within  the house flash on and off.  
  1000.  
  1001. With  RBBS-PC  a SYSOP can specify the number of rings RBBS-PC is  to  wait 
  1002. before answering the phone automatically.   Setting this number high enough 
  1003. allows  someone  with  a hearing impairment time enough to get  to  the  PC 
  1004. running RBBS-PC.   Pressing the PC's function key 5 (F5) causes RBBS-PC  to 
  1005. answer  the phone immediately.   The caller would know that someone was  at 
  1006. the  keyboard  because RBBS-PC answered the phone in less than the agreed- 
  1007. upon number of rings.   The caller would log onto RBBS-PC normally and  the 
  1008. person  at the PC keyboard would be able to see who it was.   If the person 
  1009. who was called wanted to "chat" with the caller,  all they would have to do 
  1010. would be to press function key 10 (F10). 
  1011.  
  1012. If  RBBS-PC  didn't answer the telephone within the agreed-upon  number  of 
  1013. rings,  the caller would know that whomever was being called couldn't  come 
  1014. to the keyboard.  The caller would then log on and leave a message.
  1015.  
  1016. I  would  like to thank Ted and his wife,  Sue,  for caring enough to  show 
  1017. where  RBBS-PC  might  fulfill one of  it's  primary  purposes,  "the  free 
  1018. exchange of information," by enhancing telecommunications for the deaf. 
  1019.  
  1020.                        Page 101 of 108
  1021. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  1022.  
  1023. APPENDIX G -- RBBS-PC and the IBM PCjr
  1024. --------------------------------------
  1025. RBBS-PC adheres to the Hayes standards for autoanswer applications that are 
  1026. described in Chapter 9,  "Writing Programs for the Smartmodem 1200," of the 
  1027. the SMARTMODEM 1200 HARDWARE REFERENCE MANUAL.   Under the section entitled 
  1028. "Additional   Program  Considerations"  Hayes  recommends  that  autoanswer 
  1029. applications (like RBBS-PC) "...  force the modem to answer the call  (ATA) 
  1030. rather  than  allowing the modem to automatically  answer...."    Beginning 
  1031. with  CPC13-1A,  RBBS-PC no longer REQUIRES the Ring Indicator signal  from 
  1032. the  modem  (pin  22) in order to answer the phone (except if option  9  of 
  1033. CONFIG is non-zero).
  1034.  
  1035. Here are some facts about the PCjr:
  1036.  
  1037. 1.   The  PCjr's  external modem interface does not have a  Ring  Indicator 
  1038. signal.
  1039.  
  1040. 2.   The  PCjr  requires  that an external modem be opened as  COM1  if  no 
  1041. internal modem is installed.  However, if no internal modem exists the PCjr 
  1042. requires  that  the COM2 RS232 registers be used even though the  port  has 
  1043. been  opened as COM1.   Technically this is described as using the external 
  1044. RS232   asychronous  adapter  as  logical  channel  1  (i.e.   COM1)   but 
  1045. manipulating it as physical channel 2 (i.e.  COM2).   This occurs on a PCjr 
  1046. only   when  an  internal   modem is NOT present  and  the  external  RS232 
  1047. interface is.
  1048.  
  1049. 3.  The 128K PCjr only provides 90K of usable RAM (the rest is used by DOS, 
  1050. the monitor's buffers,  etc.).   Fortunately PCjr owners can get up to 256K 
  1051. of  RAM  with  "add-on" equipment (from IBM and others) in  order  to  have 
  1052. enough RAM for RBBS-PC to run in.
  1053.  
  1054. 4.   The standard PCjr supplied by IBM does not have a DMA and hence  can't 
  1055. do communications I/O simultaneously while doing disk I/O.
  1056.  
  1057.  
  1058. RBBS-PC, version CPC13-1A will run an IBM PCjr providing that the PCjr
  1059.  
  1060. 1.  Has at least 256K of memory.
  1061.  
  1062. 2.  Disk  I/O does not occur simultaneously with communications I/O  (i.e. 
  1063. either you have a second disk drive with a DMA or you set BUFFERS=0).
  1064.  
  1065. 3.  One of the following three modem configurations are used:
  1066.  
  1067.      a.)  An internal PCjr modem with an external Hayes modem
  1068.           where the external Hayes modem is used for RBBS-PC.
  1069.  
  1070.      b.)  No internal PCjr modem with only an external Hayes modem
  1071.           used for RBBS-PC.  
  1072.  
  1073.      c.)  An internal PCjr modem with NO external Hayes modem used
  1074.           for RBBS-PC.
  1075.  
  1076. The  following discusses each of these three modem configurations supported 
  1077. by RBBS-PC with the PCjr.
  1078.  
  1079.  
  1080.                        Page 102 of 108
  1081. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  1082.  
  1083. Internal PCjr Modem with RBBS-PC Using External Hayes Modem
  1084. -----------------------------------------------------------
  1085. This  configuration means that the PCjr has both a COM1 (the internal  PCjr 
  1086. modem)  and a COM2 (the external Hayes modem).   RBBS-PC is set up  to  use 
  1087. COM2.   No  changes  are  required  to for RBBS-PC for this  type  of  PCjr 
  1088. configuration.   CONFIG  parameter 9 should be set to 0.   This will  cause 
  1089. RBBS-PC to set the external Hayes modem into "auto-answer" mode and RBBS-PC 
  1090. will wit for carrier detect.   This is the way that RBBS-PC overcomes  the 
  1091. PCjr's  lack  of  "ring-indicator" signal for the  exteranl  communications 
  1092. port.
  1093.  
  1094. No Internal PCjr Modem With RBBS-PC Using External Hayes Modem
  1095. --------------------------------------------------------------
  1096. This configuration means that the PCjr has only one RS-232 interface -- the 
  1097. external Hayes modem.  This must be opened as COM1 but use COM2's registers 
  1098. to  control  the communications port (believe it or not that's the way  IBM 
  1099. designed  the PCjr).   CONFIG parameter 17 should be used to indicate  that 
  1100. COM1 is being used.  CONFIG parameter 36 should be used to indicate that no 
  1101. internal PCjr modem is installed.  This tells CONFIG to make sure that COM2 
  1102. registers  are used to manipulate the PCjr's external communications  port.   
  1103. CONFIG parameter 9 should be set to 0.   This will cause RBBS-PC to set the 
  1104. external  Hayes  modem into "auto-answer" mode and RBBS-PC  will  wait  for 
  1105. carrier detect.   This is the way that RBBS-PC overcomes the PCjr's lack of 
  1106. "ring-indicator"  signal  for the exteranl communications port.   Again  no 
  1107. changes to RBBS-PC are required for this type of PCjr configuration.
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126.  
  1127.  
  1128.  
  1129.  
  1130.  
  1131.  
  1132.  
  1133.  
  1134.  
  1135.  
  1136.  
  1137.  
  1138.  
  1139.  
  1140.                        Page 103 of 108
  1141. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  1142.  
  1143. Only An Internal PCjr Modem for RBBS and NO External Hayes Modem
  1144. ----------------------------------------------------------------
  1145. For  this  type  of PCjr configuration,  you can take  the  CONFIG  default 
  1146. settings  for  the communications port.   However,  make sure  that  CONFIG 
  1147. parameter  38  specifies that the modem is to be opened at  300  baud.   Of 
  1148. course,  RBBS-PC  will be only able to answer the telephone at 300 baud and 
  1149. send  and  receive  data from users who log on  with  their  communications 
  1150. parameters set at N/8/1 (i.e. no parity, eight data bits, and one stop bit) 
  1151. since   RBBS-PC  is  limited  by  the  PCjr's  wn   modem's   limitations.  
  1152. Essentially in order to use the PCjr's "internal" modem:
  1153.  
  1154.     1.  The communication port must be opened at 300 baud, N, 8, 1
  1155.         (which RBBS-PC does).
  1156.  
  1157.     2.  The modem command string within the .DEF file to initialize the
  1158.         external Hayes modem that is "ATZ" should be changed to:
  1159.  
  1160.                  Ctrl N  -- Modem command indicator 
  1161.                  I       -- Modem initialization command
  1162.  
  1163.  
  1164.     3.  The modem command string within the .DEF file to set up the 
  1165.         external Hayes modem that is "ATM0Q1S2=255S10=30E0S0=0    "
  1166.         should be changed to:
  1167.  
  1168.                  Ctrl N  -- Modem command indicator. 
  1169.                  C 0     -- Modem is not to answer the phone
  1170.                             (RBBS-PC waits for the "Ring-indicator"
  1171.                             which is in the internal PCjr's modem, if
  1172.                             not the external PCjr's RS-232 interface).
  1173.                  S 1     -- Modem speed is to be set at 300 baud.
  1174.   
  1175.     4.  The modem command string within the .DEF file to tell the external
  1176.         Hayes modem to answer the phone that is "ATQ0X1V1A" should be
  1177.         changed to:
  1178.            
  1179.                  Ctrl N  -- Modem command indicator 
  1180.                  A       -- Modem command to answer the phone
  1181.                  T 0     -- Modem command to turn transparency on
  1182.                             so that "Ctrl N" sequences within XMODEM
  1183.                             file transfers aren't interperted by the
  1184.                             PCjr's internal modem as the begining of
  1185.                             a modem command string.  
  1186.  
  1187. Because of the limitations of the PCjr's internal modem,  the other RBBS-PC 
  1188. modem answering features (i.e.  ring-back,  answer on a specified number of 
  1189. rings)  are  not available when RBBS-PC must communicate using  the  PCjr's 
  1190. internal modem. 
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.                        Page 104 of 108
  1201. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  1202.  
  1203. APPEDIX H -- RBBS-PC Subscription Service
  1204. ------------------------------------------
  1205. It  seems that many people absolutely must be on the bleeding edge of RBBS-
  1206. PC  and demand each new version as soon as possible after it  is  released.  
  1207. Since  downloading it from my RBBS-PC ususally keeps my board busy 24 hours 
  1208. a day,  seven days a week when each new version is released,  and I want my 
  1209. board to be used to encourage and engage in discussions,  I offer the RBBS-
  1210. PC "Subscription Service" in order to free up my board.
  1211.  
  1212. Within the United States for $35 (prepaid by check or money order) you  can 
  1213. be guaranteed next day delivery of the very NEXT release of RBBS-PC just as 
  1214. I  mail it to the CPCUG Software Exchange.   The diskettes will be sent  to 
  1215. you  directly via Federal Express's "Courier-Pak" Overnight  Envelope.   In 
  1216. case you are wondering who gets the $35 it is allocated as follows:
  1217.  
  1218.    $ 25 -- Federal Express Charge for Courier-Pak
  1219.       8 -- CPCUG Software Exchange
  1220.       2 -- for the hassel the family puts up with and for rate changes
  1221.     ----
  1222.    $ 35 = Total Cost    Add: $5 for Alaska, Hawaii, and Puerto Rico
  1223.                              $11 for Europe, the Far East, and Australasia
  1224.  
  1225. Hopefully,  this  service  will only be used by a  very,  VERY  few!   Most 
  1226. releases  have a few fixes that get published within the first week or  two 
  1227. that  they are out.   Because of this everyone is advised to check back for 
  1228. fixes  after each  release goes out.
  1229.  
  1230. To  obtain  this  service for the NEXT release (it does NOT  apply  to  the 
  1231. current or previous releases) fill out the following form and send it along 
  1232. with  your  check  or money order in U.S.  funds (no  purchase  orders  are 
  1233. accepted and your canceled check is your only invoice).
  1234.  
  1235.       +--------------------------------------------------------------+
  1236.       | To: D. Thomas Mack            RBBS-PC Subscription Service to|
  1237.       |     10210 Oxfordshire Road    the NEXT release of RBBS-PC (if|
  1238.       |     Great Falls, Virginia    any, and none are implied or   |
  1239.       |                    22066      promised by this offer)        |
  1240.       |--------------------------------------------------------------|
  1241.       |Date Requested:                   Date Received:              |
  1242.       |--------------------------------------------------------------|
  1243.       |To (Recipient's Name):                                        |
  1244.       |--------------------------------------------------------------|
  1245.       |Recipient's Phone Number (required): (      )        -        |
  1246.       |--------------------------------------------------------------|
  1247.       |Exact Street Address (no P.O. Box or P.O. Zip Code accepted)  |
  1248.       |                                                              |
  1249.       |                                                              |
  1250.       |--------------------------------------------------------------|
  1251.       | City                            | State or Country           |
  1252.       |                                 |                            |
  1253.       |--------------------------------------------------------------|
  1254.       | Signature (required)            | ZIP Code for Street Address| 
  1255.       |                                 |                            |
  1256.       |                                 |                            |
  1257.       +--------------------------------------------------------------+
  1258.       Note: this is not a promise that there will be any new releases.
  1259.  
  1260.                        Page 105 of 108
  1261. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  1262.  
  1263. APPENDIX I -- RBBS-PC National Listing Service     
  1264. ----------------------------------------------
  1265. Frequent inquires are made about a "national" list of RBBS-PC's.   In order 
  1266. to help SYSOP's (and potential SYSOP's) everywhere find configurations that 
  1267. most closely match their own,  with the introduction of RBBS-PC CPC12-5B an 
  1268. additional  public service was inaugurated to keep an "ACCURATE"  telephone 
  1269. listing  of all publically availabl RBBS-PC systems.   The success of this 
  1270. endeavor  depends on you.   If you would like a chance to stand up  and  be 
  1271. recognized, please fill out and return the following form:
  1272.  
  1273.       +--------------------------------------------------------------+
  1274.       | To: Jon Martin                   RBBS-PC National Listing    |
  1275.       |     4396 N. Prairie Willow Ct.   Service (if any, and none is|
  1276.       |     Concord, California          implied or promised by this |
  1277.       |                    94521         offer)                      |
  1278.       |--------------------------------------------------------------|
  1279.       |Please  REMOVE    CHANGE    ADD   Date Requested:             |
  1280.       |(circle one) to your Listing.     Date Action Taken:          |
  1281.       |--------------------------------------------------------------|
  1282.       |SYSOP's Name:                                                 |
  1283.       |--------------------------------------------------------------|
  1284.       |DATA Phone Number  (required): (      )        -              |
  1285.       |VOICE Phone Number (optional): (      )        -              |
  1286.       |Do NOT publish my VOICE number (please check) _____           |
  1287.       |--------------------------------------------------------------|
  1288.       |Exact Street Address (no P.O. Box or P.O. Zip Code accepted)  |
  1289.       |(Address will not be published. For my information only.)     |
  1290.       |                                                              |
  1291.       |--------------------------------------------------------------|
  1292.       | City                            | State                      |
  1293.       |                                 |                            |
  1294.       |--------------------------------------------------------------|
  1295.       | Signature (required):           | ZIP Code for Street Address| 
  1296.       |                                 |                            |
  1297.       |                                 |                            |
  1298.       +-------------------------------------------------------------+
  1299.       | Detailed System Information                                  |
  1300.       | RBBS Name          :_________________________________________|
  1301.       | Operating Hrs.(EST):_________________________________________|
  1302.       | Specialty of RBBS  :_________________________________________|
  1303.       | Baud Rates         :_________________________________________|
  1304.       | Number of Nodes    :_________________________________________|
  1305.       | Modem Vendor/Model :_________________________________________|
  1306.       | Computer Type      :_________________________________________|
  1307.       | Memory             :_________________________________________|
  1308.       | Multi-Function Card:_________________________________________|
  1309.       | Monitor Vendor/Type:_________________________________________|
  1310.       | Disk Storage       :_________________________________________|
  1311.       | Special Cards      :_________________________________________|
  1312.       | DOS Version        :_________________________________________|
  1313.       | Related Software   :_________________________________________|
  1314.       |--------------------------------------------------------------|
  1315.       | Additional information/comments:                             |
  1316.       |                                                              |
  1317.       |                                                              |
  1318.       +--------------------------------------------------------------+
  1319.  
  1320.                        Page 106 of 108
  1321. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  1322.  
  1323. APPENDIX J -- RBBS-PC and The Ark-Paradyne Modem Switch Settings
  1324. ----------------------------------------------------------------
  1325. The following are the switch and jumper settings for the Modem.
  1326.      
  1327.      Switch 1  UUUDDUUD       (Where U = Up = On and D = Down = Off )
  1328.      Switch 2  UDDDDUDD    Briefly these settings use Hayes Mode, ROM,
  1329.      Switch 3  DUUDUUUU    2400 Baud,8,N,1, and auto answer disabled.
  1330.  
  1331.      MODEM     DTE/CLOCK    FLOW      BUSY      DTR
  1332.      JMPERS     E8-E9     E15-E16    E4-E7    E11-E14
  1333.  
  1334. Use "2400  for option 38 "Modem rate" in CONFIG.EXE. 
  1335.  
  1336. The ARK modem has two modes, ARK and HAYES. The zap or modem reset "ATZ" or 
  1337. "Z"  command requires a "CONFIRM Y/N" and therefore cannot be used by RBBS.  
  1338. The  HAYES  mode works well for RBBS and the ARK mode works best  with  PC-
  1339. TALK, QMODEM, EXECPCT, etc.
  1340.  
  1341. Do to incomplete compatability to the HAYES 2400 (i.e.  lack of time  delay 
  1342. from  MCR to DTR to drop of Carrier) the ARK Modem can't use the  following 
  1343. RBBS  functions:  Doors,  Remote Sysop to DOS,  and the RBBS version of MNP 
  1344. Protocol.  
  1345.      
  1346. The following LED lights should be "ON" while waiting for a call: 
  1347.  
  1348.      TALK
  1349.      ANS
  1350.      AA
  1351.      PWR
  1352.      DTR
  1353.      RTS
  1354.  
  1355. If  the  AA light is not "ON",  check the 2nd line of RBBSxPC.DEF  for  the 
  1356. modem string starting with ATM0Q1 etc.  The string should have S0=1.  
  1357.  
  1358. The Ark modem requires that option 9 of CONFIG to be set to 0.
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.                        Page 107 of 108
  1381. RBBS-PC CPC13-1A, Copyright 1985 by D. Thomas Mack          December 1, 1985
  1382.  
  1383. APPENDIX K -- RBBS-PC And The AT's RS-232 Cable
  1384. -----------------------------------------------
  1385. The RS-232 serial connector is different for the AT than the PC or XT.  The 
  1386. AT  uses  a  connector  called a DB-9,  which is a  9  pin  connector.   An 
  1387. alternative to buying the AT serial cable from IBM,  ($65-$80),  is to make 
  1388. your own.  A ten-wire cable  can be purchased from any local computer store 
  1389. for about $.80 per foot,  and the DB-9 and RS-232 connectors with hoods can 
  1390. be purchased from Radio Shack.   The total cost should be about $12.00.   A 
  1391. modem  hooked up to the AT will work fine with the 9 pins connected in  all 
  1392. terminal functions, except for auto-answer applications such as RBBS-PC.
  1393.  
  1394. RBBS-PC requires pin 1 from the modem to be hooked up to the chassis ground 
  1395. on the AT or it can't answer the phone.   There are two ways to hook up the 
  1396. ground wire on the computer end.  The first way is to use a metal hood  to 
  1397. cover  the DB-9 connector.   Wrap a bare wire that is attached to pin 1  of 
  1398. the RS-232 connector around the cable on the DB-9 end.  When the metal hood 
  1399. is  screwed down over the cable a connection will be made.   When  using  a 
  1400. plastic  DB-9 hood simply solder a wire from pin 1 on the RS-232 end to the 
  1401. metal  body of the DB-9 connector.   Since documentation is scarce for  the 
  1402. AT,  following figure lists the necessary pin connections for those wanting 
  1403. to make their own AT RS-232 cable.
  1404.  
  1405. DB-9 (Computer End)       RS-232 (Modem End)
  1406. ===================       ==================
  1407.  
  1408.      GROUND --------------------- 1
  1409.        1    --------------------- 8
  1410.        2    --------------------- 3
  1411.        3    --------------------- 2
  1412.        4    ---------------------20
  1413.        5    --------------------- 7
  1414.        6    --------------------- 6
  1415.        7    --------------------- 4
  1416.        8    --------------------- 5
  1417.        9    ---------------------22
  1418.  
  1419. =========== E N D   O F   CPC13-1A   D O C U M E N T A T I O N ==========
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.                        Page 108 of 108
  1441.  RS-232 Cable
  1442. -----------------------------------------------
  1443. The RS-232 serial connector is different for